<template>
  <div class="SearchTipsList-body">
    <van-list
      v-model="loading"
      :finished="finished"
      finished-text="没有更多了"
      @load="onLoad"
    >
      <van-cell v-for="item in searchTipList" :key="item" :title="item"  @click="listsearch(item)"/>
    </van-list>
  </div>
</template>

<script>
export default {
  props:['searchTipList'],
  data() {
    return {
      searchTipsList: [],
      loading: false,
      finished: true,
    };
  },
  created() {},
  mounted() {
    
  },
  methods: {
    onLoad(){
      console.log('123')
    },
    listsearch(val){
      this.$emit('listsearch',val)
    }
  },
};
</script>

<style scoped lang="less">
</style>
